package com.wm.teach;

public class JavaTeacher extends Teacher {

    public JavaTeacher(String name, String strain, int age, int teachYear, String center) {
        super(name, strain, age, teachYear, center);
    }

    public JavaTeacher() {
    }

    @Override
    public void teaching() {
        System.out.println("打开Eclipse、实施理论课授课!");
    }
}
